Generate dynamic, customizable mock data effortlessly for frontend development.
import requests
response = requests.get(
"https://flapi.sprucbot.tech/v1/gen",
json={
"name": "name()",
"email": "email()",
"age": "age(min=18)"
}
)
data = response.json()
Define your schema, and Flapi generates precise mock data tailored to your needs.
Generate multiple unique responses with a single schema call.
Build and test frontend interfaces without waiting for backend implementation.
{
"name": "name()",
"email": "email(domain=hg.co)",
"employee": {
"_$amount": 2,
"name": "name()",
}
}
{
"name": "James Franco",
"email": "[email protected]",
"employee": [
{
"name": "Alice Smith",
},
{
"name": "Bob Johnson",
}
]
}